<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>JPA</h1>
<table align='center' border='1' cellspacing='0'>
    <thead th>
    <tr>
        <th>邮箱</th>
        <th>昵称</th>
        <th>密码</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="user : ${userinfo}">
        <td  th:text="${user.getMailbox()}">id</td>
        <td th:text="${user.getNickname()}">用户名</td>
        <td th:text="${user.getPassword()}">用户地址</td>
    </tr>
    </tbody>

</table>
</body>
</html>